﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPageTra.master" AutoEventWireup="true"
    CodeFile="TraTradeDataList.aspx.cs" Inherits="Agency_TraTradeDataList" Title="Untitled Page" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script language="vbscript" src="../Common/yz.vbs"></script>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
   
        <tr>
            <td class="intro_wordbg" style="width: 160px">
               挂网目录列表</td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34"></td>
        </tr>
        
    </table>
    <table id="tabData" width="98%" border="0" align="center" cellpadding="2" cellspacing="1">
        <tr>
            <td align="right">
                商品编码：</td>
            <td>
                <asp:TextBox ID="txtProductCode" runat="server" class="input_text" InvertedComma="药品编码" Width="185px"></asp:TextBox></td>
            <td align="right">
                通用名：</td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" class="input_text" InvertedComma="通用名"
                    Width="185px"></asp:TextBox>(精确)</td>
        </tr>
        <tr>
            <td align="right">
                通用名：</td>
            <td>
                <asp:TextBox ID="txtProductName" runat="server" class="input_text" InvertedComma="通用名"
                    Width="185px"></asp:TextBox></td>
            <td align="right">
                生产企业：</td>
            <td>
                <asp:TextBox ID="Text_CompanyName_SC" runat="server" class="input_text" InvertedComma="药品编码" Width="185px"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right">
                投标企业：</td>
            <td>
                <asp:TextBox ID="Text_CompanyName_TB" runat="server" class="input_text" InvertedComma="药品编码" Width="185px"></asp:TextBox></td>
            <td align="right">
                状态：</td>
            <td>
                <asp:DropDownList ID="lstIsUse" runat="server" class="input_text" Width="185px">
                <asp:ListItem>全部</asp:ListItem>
                <asp:ListItem Selected="true">可交易状态</asp:ListItem>
                <asp:ListItem>撤废状态</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td align="right">
                商品流水号：</td>
            <td>
                <asp:TextBox ID="Text_GoodsID" runat="server" class="input_text" InvertedComma="药品编码" Width="185px" NumericOnly="流水号"></asp:TextBox>
            </td>
            <td align="right">
                &nbsp;</td>
            <td>
                <asp:Button ID="Button6" runat="server"  Text="" CssClass="button_Query" OnClientClick="javascript:return CheckForm();" />
            </td>
        </tr>
        <tr>
            <td align="right" style="height: 26px">挂网药品类型：</td>
            <td style="height: 26px">
                <asp:DropDownList ID="lstGoodsState" runat="server" class="input_text"  Width="185px">
                </asp:DropDownList></td>
            <td align="right" style="height: 26px">
                <input id="Submit2" class="button_bg6" name="Submit1" 
                    onclick="javascript:window.open('TraAddproduct.aspx?projectid=<%=projectid %>')" 
                    style="width: 90px; display: <%=strVistia %>;" type="submit" value="添加挂网药品" /></td>
            <td style="height: 26px">
                <asp:Button ID="ToEcxul" runat="server" CssClass="button_bg4" OnClick="ToEcxul_Click"
                    Text="导出到Excel" Width="70px" /></td>
        </tr>
       
    </table>
    <uc1:DbPageFlip ID="DbPageFlip1" runat="server"  />
    <asp:GridView ID="GridView1" runat="server" Width="98%"   AutoGenerateColumns="False" 
        CssClass='table_table' HeaderStyle-CssClass='table_title'  OnRowDataBound="GridView1_RowDataBound"  >
        <Columns>
            <asp:BoundField  DataField="SupplyGoodsId" HeaderText="sid"/>
            <asp:BoundField  DataField="GoodsId" HeaderText="商品流水号"/>
            <asp:BoundField  DataField="ProductName" HeaderText="通用名" />
            <asp:BoundField  DataField="MedicineModel" HeaderText="剂型" />
            <asp:BoundField  DataField="Outlookc" HeaderText="规格"/>
            <asp:BoundField  DataField="unit" HeaderText="包装规格"/>
            <asp:BoundField  DataField="goodsname" HeaderText="商品名"/>
            <asp:TemplateField HeaderText="修改">
                <EditItemTemplate >
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="Factor" HeaderText="转换系数"/>
            <asp:BoundField DataField="BidPrice" HeaderText="中标价格"  >
                <HeaderStyle Wrap="True" />
            </asp:BoundField>
            <asp:BoundField DataField="RetailPrice" HeaderText="最高零售价"  >
                <HeaderStyle Wrap="True" />
            </asp:BoundField>
            <asp:BoundField DataField="QualityLevels"  HeaderText="质量层次"/>
            <asp:BoundField DataField="goodsstate" HeaderText="中标状态"/>
            <asp:BoundField DataField="CompanyName_TB" HeaderText="投标人"/>
            <asp:BoundField DataField="CompanyName_SC" HeaderText="生产企业"/>
            <asp:BoundField DataField="CompanyName_PS" HeaderText="主配送人"/>
        </Columns>
        <RowStyle CssClass="table_td" />
        <SelectedRowStyle CssClass="table_td" />
        <HeaderStyle CssClass="table_title" />
    </asp:GridView>
</asp:Content>
